/**
 * @Description: test
 * @Author: Hu Outstanding
 * @Date: 2022/1/13 23:13
 */
package com.aaa.three.pojo.domain;

import com.aaa.three.conver.AdminDeptConverter;
import com.aaa.three.conver.AdminEducationConverter;
import com.aaa.three.conver.AdminOfficeConverter;
import com.aaa.three.conver.AdminRoleConverter;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

@Data
public class AdminInfo {
    @ExcelProperty( value="员工编号"   , index = 0)
    private Integer id;
    @ExcelProperty( value="员工姓名"   , index = 1)
    private String aname;
    @ExcelProperty( value="员工性别"   , index = 2)
    private String asex;
    @ExcelProperty( value="员工手机号"   , index = 3)
    private String aphone;
    @ExcelProperty( value="员工身份证号"   , index = 4)
    private String aidcard;
    @ExcelProperty( value="员工简介"   , index = 5)
    private String abrief;
    @ExcelProperty( value="员工家庭住址"   , index = 7)
    private String aaddress;
    @ExcelProperty( value="员工主要成就"   , index = 8)
    private String aachievement;
    @ExcelProperty( value="员工入职日期"   , index = 9)
    private String ahiredate;
    @ExcelProperty( value="员工离职日期"   , index = 10)
    private String adimission;
    @ExcelProperty( value="员工头像"   , index = 11)
    private String aphoto;
    @ExcelProperty( value="员工座右铭"   , index = 12)
    private String amotto;
    @ExcelProperty( value="员工年龄"   , index = 13)
    private Integer aage;
    @ExcelProperty( value="员工生日"   , index = 14)
    private String abirthday;
    @ExcelProperty( value="员工状态"   , index = 15)
    private Integer astate;

    @ExcelProperty(value = "员工科室"  , index= 6 ,converter = AdminEducationConverter.class)
    private AdminEducation education;
    @ExcelProperty(value = "员工级别"  , index= 16 ,converter = AdminRoleConverter.class)
    private AdminRole role;
    @ExcelProperty(value = "员工部门"  , index= 17 ,converter = AdminDeptConverter.class)
    private AdminDept dept;
    @ExcelProperty(value = "员工科室"  , index= 18 ,converter = AdminOfficeConverter.class)
    private AdminOffice office;

}
